class Test {
    public static class Point {
        public int x,y;
        
        Point() {
            x = 0;
            y = 0;
        }

        Point(int x,int y) {
            this.x = x;
            this.y = y;
        }
    }

    public static void main(String[] args) {
        Point[] point = new Point[3];
        point[0].x = 22;
        point[0].y = 33;
    }
}
